import model
#import view
import md5

class validate():
    def __init__(self, data=None):
        self.datatest = data

    def index(self):
        data = model.m_user()
        datacek = data.getdatabypass(self.datatest) 
        return datacek
    
    
if __name__ == '__main__':
    test = validate()
    test.datatest = 'marevin'
    data = test.index()
    print data